﻿using DAL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;

namespace BAL
{
    public class HoaDonBAO
    {
        public static HoaDonDAO hoadonDAO = new HoaDonDAO();
        public void InsertHoaDon(HoaDon hoadon)
        {
            hoadonDAO.InsertHoaDon(hoadon);
        }

        public void UpdateHoaDon(HoaDon hoadon)
        {
            hoadonDAO.UpdateHoaDon(hoadon);
        }

        public void DeleteHoaDon(HoaDon hoadon)
        {
            hoadonDAO.DeleteHoaDon(hoadon);
        }

        public List<HoaDon> GetListHoaDon()
        {
            return hoadonDAO.GetListHoaDon();
        }

        public DataTable SelectAllHoaDon()
        {
            return hoadonDAO.SelectAllHoaDon();
        }
    }
}
